package com.ponhu.ea2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 类目与属性关系表
 *
 * </p>
 *
 * @author ${author}
 * @since 2021-10-19
 */
@Data
@Accessors(chain = true)
@TableName(value = "ph_category_property_md")
public class PhCategoryPropertyMd implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类目表ID
     */
    private Long categoryId;

    /**
     * 属性表ID
     */
    private Long propertyId;

}
